package com.hmall.vo;


import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 暂时存在订单中的产品
 */
public class CartProductTempVo {
    private Integer productId;
    private String producName;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String producUrl;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String productMainImage;
    private Double productPrice;//单价
    private String productModel;//型号
//    private Integer productqty;//数量
    private Integer weight;//重量
    private String grade;//等级
    private Double productTotalPrice;//总价
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isChecked;//此商品是否勾选
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isStock;//是否有货
    //是否评论
    private Integer commentCheck;

    public Integer getCommentCheck() {
        return commentCheck;
    }

    public void setCommentCheck(Integer commentCheck) {
        this.commentCheck = commentCheck;
    }


    public CartProductTempVo() {
    }

    public CartProductTempVo(Integer productId, String producName, String producUrl, String productMainImage, Double productPrice, Integer weight, Double productTotalPrice) {
        this.productId = productId;
        this.producName = producName;
        this.producUrl = producUrl;
        this.productMainImage = productMainImage;
        this.productPrice = productPrice;
        this.weight = weight;
        this.productTotalPrice = productTotalPrice;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProducName() {
        return producName;
    }

    public void setProducName(String producName) {
        this.producName = producName;
    }

    public String getProducUrl() {
        return producUrl;
    }

    public void setProducUrl(String producUrl) {
        this.producUrl = producUrl;
    }

    public String getProductMainImage() {
        return productMainImage;
    }

    public void setProductMainImage(String productMainImage) {
        this.productMainImage = productMainImage;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }


    public Double getProductTotalPrice() {
        return productTotalPrice;
    }

    public void setProductTotalPrice(Double productTotalPrice) {
        this.productTotalPrice = productTotalPrice;
    }

    public Integer getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Integer isChecked) {
        this.isChecked = isChecked;
    }

    public Integer getIsStock() {
        return isStock;
    }

    public void setIsStock(Integer isStock) {
        this.isStock = isStock;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }
}
